PUT
/
api
/
v3
/
chargers
/
{charger_uuid}
/
proxy
curl --request PUT \
  --url https://cloud.volttime.com/api/v3/chargers/{charger_uuid}/proxy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "vendor_role": "ROLE_FOLLOWER",
  "servers": [
    []
  ]
}'
{
  "data": [
    {
      "websocket_url": "wss://schuster.biz",
      "role": "leader",
      "created_at": null,
      "updated_at": null
    },
    {
      "websocket_url": "wss://swift.com",
      "role": "leader",
      "created_at": null,
      "updated_at": null
    }
  ]
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

charger_uuid
string
required

Body

application/json

Response

200 - application/json

The response is of type object.